<?php

namespace App\Http\Controllers\before;
use App\Http\Controllers\Controller;
use App\Model\Brand as BrandModel;
use Illuminate\Support\Facades\DB;


class PageController  extends Controller
{
    public  function index(){
        $data = DB::table('goods')->get();
       return view('Page.index',['data' => $data]);
    }

}